#include "simple_factory/OperationSub.hpp"

double OperationSub::GetResult() const
{
    return num1 - num2;
}


double OperationSub::operator()(double num1, double num2) const {
    return num1 - num2;
}